package shared.highcharts.config

import dataclass.data
import java.lang.{Integer => JInt, Double => JDouble, Boolean => JBoolean}

@data class Credits(
                     enabled: Option[Boolean]
                   )

object Credits {
  def apply(
             enabled: JBoolean = null,
           ) = new Credits(
    Option(enabled).map(x => x:Boolean),
  )
}
